import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import java.awt.SystemColor;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.Color;
import javax.swing.JTextField;
import javax.swing.JButton;


public class NewSale extends JFrame {

	private JPanel contentPane;
	private JTextField tfArticulo;
	private JTextField tfPrecio;
	private JTextField tfEnvio;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					NewSale frame = new NewSale();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public NewSale() {
		setTitle("Nueva Subasta");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 382, 227);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setBackground(SystemColor.controlHighlight);
		panel.setBounds(21, 11, 313, 131);
		contentPane.add(panel);
		panel.setLayout(null);
		
		JLabel lbArticulo = new JLabel("Articulo");
		lbArticulo.setForeground(new Color(0, 153, 153));
		lbArticulo.setFont(new Font("Tahoma", Font.BOLD, 12));
		lbArticulo.setBounds(138, 11, 72, 26);
		panel.add(lbArticulo);
		
		JLabel lblPrecio = new JLabel("Precio");
		lblPrecio.setForeground(new Color(0, 153, 153));
		lblPrecio.setFont(new Font("Tahoma", Font.BOLD, 12));
		lblPrecio.setBounds(52, 65, 47, 15);
		panel.add(lblPrecio);
		
		JLabel lblEnvio = new JLabel("Envio");
		lblEnvio.setForeground(new Color(0, 153, 153));
		lblEnvio.setFont(new Font("Tahoma", Font.BOLD, 12));
		lblEnvio.setBounds(214, 59, 47, 26);
		panel.add(lblEnvio);
		
		tfArticulo = new JTextField();
		tfArticulo.setFont(new Font("Tahoma", Font.BOLD, 12));
		tfArticulo.setForeground(new Color(0, 102, 102));
		tfArticulo.setBounds(27, 37, 259, 26);
		panel.add(tfArticulo);
		tfArticulo.setColumns(10);
		
		tfPrecio = new JTextField();
		tfPrecio.setForeground(new Color(0, 102, 102));
		tfPrecio.setFont(new Font("Tahoma", Font.BOLD, 12));
		tfPrecio.setColumns(10);
		tfPrecio.setBounds(27, 90, 94, 26);
		panel.add(tfPrecio);
		
		tfEnvio = new JTextField();
		tfEnvio.setForeground(new Color(0, 102, 102));
		tfEnvio.setFont(new Font("Tahoma", Font.BOLD, 12));
		tfEnvio.setColumns(10);
		tfEnvio.setBounds(195, 90, 87, 26);
		panel.add(tfEnvio);
		
		JButton btnCancelar = new JButton("Cancelar");
		btnCancelar.setFont(new Font("Tahoma", Font.BOLD, 12));
		btnCancelar.setBackground(new Color(0, 153, 153));
		btnCancelar.setForeground(Color.WHITE);
		btnCancelar.setBounds(50, 153, 89, 23);
		contentPane.add(btnCancelar);
		
		JButton btnAceptar = new JButton("Aceptar");
		btnAceptar.setForeground(Color.WHITE);
		btnAceptar.setFont(new Font("Tahoma", Font.BOLD, 12));
		btnAceptar.setBackground(new Color(0, 153, 153));
		btnAceptar.setBounds(217, 153, 89, 23);
		contentPane.add(btnAceptar);
	}
}
